import { Pipe, PipeTransform } from '@angular/core';
import { ToolService } from '../service/tool.service';

@Pipe({
  name: 'bankname'
})
export class BanknamePipe implements PipeTransform {

  transform(value: any, args?: any): any {
    return ToolService.getBankNameByCode(value);
  }

}
